import {TableProps} from "antd";
import {RightSearchProps} from "../../interface/ComponentInterface";

export interface XiTableInterface extends TableProps<any> {
    url?: string;
    method?: 'Post' | 'Get';
    params?: any;
    headers?: any;
    pageSize?: number;
    queryCallback?: (data: any) => typeof data;
    search?: boolean;
    searchProps?: RightSearchProps;
    from?: 'table' | 'normal'
    buttonToolsDataSource?: any
    onButtonToolsClick?: any
    refresh?: number;
    rightExtra?: Function | any;

    [key: string]: any;
}